﻿package com
{
	import com.element.role.IRole;
	import com.element.role.RoleBehavior;
	import com.map.IMap;
	import com.map.SetObjectIndex;
	
	/**
	 * ...
	 * @author zhengzihua
	 */
	public class IFactory 
	{
		
		public function IFactory() 
		{
			
		}
		//地图接口
		public static function getMap():IMap {
			return new SetObjectIndex();
		}
		public static function getRoleBehavior():IRole{
			return  new RoleBehavior();
		}
	}
	
}